﻿// -----------------------------------------------------------------------
// <copyright file="UserInfo.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace TestNetFramework.Model
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using NetFramework.Configuration;
    using System.Xml.Serialization;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    [ConfigFile("Config/UserInfo*.config")]
    [Serializable]
    [XmlRoot("UserInfo")]
    public class UserInfo
    {
        public string UserName
        {
            get;
            set;
        }

        public List<Address> Addresses
        {
            get;
            set;
        }
    }

    [Serializable]
    public class Address
    {
        public string Area { get; set; }
        public string ZipCode { get; set; }
        public string Street { get; set; }
    }
}
